package com.tianhua.javs.client.enums;

/**
 * Description:
 * date: 2022/2/25
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
public enum SegmentSceneEnum {
    MODEL_ASSIGN("assign","赋值语句场景"),
    MODEL_BEAN_ASSIGN("beanRefer","模型.bean赋值语句场景"),
    STATIC_METHOD("staticMethod","静态方法调用场景"),
    OBJECT_METHOD("objectMethod","对象方法调用场景"),

    LOCAL_PARAM_REFER("paramRefer","局部参数变量声明 赋值语句场景"),
    CONSTRUCT_REFER("constructrefer","构造函数声明 赋值语句场景"),
    RETURN("return","返回语句场景"),

    ;
    private String code;
    private String desc;
    SegmentSceneEnum(String code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
